package com.gedmanager.db;

public class Store {
	private long id;
	private String name;
	private String price;
	private long creation_date;
	private String image_url;
	private long amount;

	public Store(long id, String name, String price, long creation_date, String image_url,
			long amount) {
		super();
		this.id = id;
		this.name = name;
		this.price = price;
		this.creation_date = creation_date;
		this.image_url = image_url;
		this.amount = amount;
	}

	public Store() {
		// TODO Auto-generated constructor stub
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	// Will be used by the ArrayAdapter in the ListView
	@Override
	public String toString() {
		return name;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public long getCreationDate() {
		return creation_date;
	}

	public void setCreationDate(long date) {
		this.creation_date = date;
	}

	public String getImage_url() {
		return image_url;
	}

	public void setImage_url(String image_url) {
		this.image_url = image_url;
	}

	public long getAmount() {
		return amount;
	}

	public void setAmount(long amount) {
		this.amount = amount;
	}
}